package com.hyjx.framework.service.model;

import com.hyjx.framework.uc.depart.DepartModel;

import java.io.Serializable;
import java.util.Map;

/**
 * 缓存单位及其部门
 *
 * @author Peter
 */
@SuppressWarnings("serial")
public class CacheOrg implements Serializable {
    private String orgCode;
    private DepartModel org;
    
    private Map<String, DepartModel> deptList;
    
    
    public CacheOrg(String orgCode, DepartModel org, Map<String, DepartModel> deptList) {
        super();
        this.orgCode = orgCode;
        this.org = org;
        this.deptList = deptList;
    }
    
    public String getOrgCode() {
        return orgCode;
    }
    
    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
    
    public DepartModel getOrg() {
        return org;
    }
    
    public void setOrg(DepartModel org) {
        this.org = org;
    }
    
    public Map<String, DepartModel> getDeptList() {
        return deptList;
    }
    
    public void setDeptList(Map<String, DepartModel> deptList) {
        this.deptList = deptList;
    }
    
}
